package shuai3.action;

import java.io.IOException;
import java.io.PrintWriter;

public class RegAction extends BaseAction {
	private String username;
	private String password;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String login(){
		PrintWriter out=null;
		try {
			out=getResponse().getWriter();
		} catch (Exception e) {
			e.printStackTrace();
		}
		out.print("正在执行login方法");
		return null;
	}
	
	public String reg(){
		PrintWriter out=null;
		try {
			out=getResponse().getWriter();
		} catch (Exception e) {
			e.printStackTrace();
		}
		out.print("正在执行reg方法");
		return null;
	}
	
	public String showList(){
		PrintWriter out=null;
		try {
			out=getResponse().getWriter();
		} catch (Exception e) {
			e.printStackTrace();
		}
		out.print("正在执行showList方法");
		return null;
	}
}
